home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / appkit.668 < prev    next >
Text File  |  1992-02-06  |  1KB  |  19 lines

  1. {\rtf0\ansi{\fonttbl\f4\fnil Times-Roman;\f0\fmodern Courier;}
  2. \paperw11980
  3. \paperh7120
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f4\b0\i0\ul0\fs28 app icon panel\
  8. \
  9. Q:  I want to find my application's icon and put it on a disabled button on my panel, just like the SavePanel and other NeXTstep panels do.  How do I go about this?\
  10. \
  11. A: Creating a disabled button with your application's icon is a simple task.  You can do everything without leaving IB!  Create a button the size and placement you want.  Now bring up the Inspector for this button.  Check the "Disabled" box and enter "app" for the name of icon for this button.  Set the Icon Position to be icon only, no title.  While in IB, the button will display the application icon for IB (the screwdriver), but once your program is compiled and run, the button will have your application's icon.  If you haven't created a custom icon for your app, the button will display the generic application icon.\
  12. \
  13. QA668\
  14. \
  15. Valid for 1.0\
  16. Valid for 2.0\
  17. \
  18.  
  19.